package com.lxf.project.inteface;

import com.lxf.project.inteface.entity.Order;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 参数验证demo
 */
public interface IOrderService {
    void save(@NotNull Order parameter);
    void update(@Min(1) int id);

}
